import {get,post} from '@/libs/axios'

const classroomColumnDetail = {
    // 分页列表
    page(queryData){
        return get('/class/column/article/page',queryData)
    },
    // 保存
    save(formData){
        return post('/class/column/article/save',formData)
    },
    // 编辑排序
    saveSort(formData){
        return post('/class/column/article/sort/save',formData)
    },
    // 删除
    del(id){
        return post('/class/column/article/delete',{id:id})
    },
    //专栏下拉列表
    columnList(){
        return get('/class/column/list')
    },
    // 保存状态-图文
    status(id,status){
        return post('/class/column/article/status/save',{'id':id,'status':status})
    },
}

export default classroomColumnDetail
